export default {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state => state.user.name,
  phone: state => state.user.phone,
  roles: state => state.user.roles,
  permissions: state => state.user.permissions,
  userInfo: state => state.user.info,
  enumMap: state => state.enums.map,
  status: state => state.user.status
}
